package router

import (
	"duoke/controller/comm"
	"duoke/middleware"
	"github.com/gin-gonic/gin"
)

func LoadComm(r *gin.Engine) {
	router := r.Group("comm")
	{
		router.Use(middleware.CommAuth())
		router.POST("ws/send-msg", comm.WsMsg.Send)
	}
}
